/**
 * Copyright @ 2000 ysten Co. Ltd. 
 * All right reserved.     
 * @author: wangmin
 * date: 2016-05-13     
 */
package com.task.bean;

/**
 * 常量
 */
public class Constants {

    //倒序
    public static final String DESC = "desc";

    //顺序
    public static final String ASC = "asc";

    public static final String ID = "id";

    public static final String SEARCH_PREFIX = "search_";

    public static final String ROWS = "rows";

    public static final String TOTAL = "total";

    public static final int RESULT_SUCCESS = 1;

    public static final int RESULT_FAIL = 0;

    public static final String SUCCESS = "success";

    public static final String FAIL = "fail";

    public static final String RESULT = "result";

    public static final String MSG = "msg";

    public static final String PDF_DIR = "pdf";

    public static final String IMAGE_DIR = "images";

    public static final String DEFAULT_PAGE = "0";

    public static final String DEFAULT_ROWS = "20";

    public static final String PAGE_NO_DEFAULT_VALUE = "0";

    public static final String PAGE_NUMBER = "20";

    public static final int SALT_SIZE = 8;
    public static final int HASH_INTERATIONS = 1024;
    public static final String HASH_ALGORITHM = "SHA-1";

    public static final String HOME_PAGESIZE = "12";

    public static final String ACCESS_TOKEN = "access_token";

    public static final String TOKEN = "token";

    public static final String ENCODING_AES_KEY = "encodingAESKey";

    public static final String JS_TICKET = "js_ticket";

    public static final String JS_TIMESTAMP = "jstimestamp";

    public static final String TIMESTAMP = "timestamp";

    public static final String SIGNATURE = "signature";

    public static final String TOKEN_URL = "tokenUrl";

    public static final String GET_USERINFO_URL = "getUserinfoUrl";//获取成员信息url

    public static final String GET_DETAIL_USERINFO_URL = "getDetailUserInfoUrl";//获取成员详细信息url

    public static final String GET_DEPARTMENT_URL = "getDepartmentUrl";

    public static final String JSAPITICKET_URL = "jsApiTicketUrl";

    public static final String GET_OPENID_URL = "getOpenIdByUserIdUrl";

    public static final String TUFAAPPID = "tufaAppId";

    public static final String CORPID = "corpid";
    public static final String CORPSECRET = "corpsecret";

    public static final String AGENTID = "agentid";//应用ID
    public static final String USERID = "userid";//用户ID
    public static final String OPENID = "openid";
    public static final String ACCESS_TOKEN_KEY = "ACCESS_TOKEN";


    public static final Integer MAXSECONDS = 7000;

    public static final String IMAGES_DIR = "images";

    public static final String IDKEY = "ID";

    public static final String CERT_PATH = "certPath";

    public static final String FREE = "无偿";

}
